package cate.game.play.proce.result;


import cate.common.table.d.GDPlay;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("地面瞄准结果")
public class AimPosResult extends ActionResult<AimPosResult> {

    public AimPosResult() {
        this.type = GDPlay.ResultType.AIM_POS;
    }

    @NoteField("队伍")
    public byte team;

    @NoteField("移动到的位置")
    public byte pos;

    public AimPosResult teamSet(byte team) {
        this.team = team;
        return this;
    }

    public AimPosResult posSet(byte pos) {
        this.pos = pos;
        return this;
    }

    @Override
    public String toString() {
        return "瞄准位置 " + this.pos;
    }
}
